package com.ityj.yygh.hospital.service;

import com.ityj.yygh.model.hosp.Hospital;
import com.ityj.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface HospitalService {
    boolean save(Map<String, Object> stringObjectMap);

    Hospital getHospitalByHoscode(String hoscode);

    Page<Hospital> searchHopitalInfoByCondition(HospitalQueryVo hospitalQueryVo, Integer pageNum, Integer pageSize);

    void updateHospitalStatus(String id, Integer status);

    Map<String, Object> findHospDetailById(String id);

    String getHospName(String hoscode);

    List<Hospital> findByHositalNameLike(String hosname);

    Map<String, Object> findItemDetail(String hoscode);
}
